home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / ioresult.doc < prev    next >
Text File  |  1985-03-05  |  1KB  |  26 lines

  1. .Speaking of undocumented error messages, you may have noticed that the values
  2. returned by IOresult do not coincide with the IO error messages you get when
  3. you leave the I compiler directive on.  For cases in which checking for a non-
  4. -zero IOresult is not good enough, the following list of correspondences
  5. between IOresult and IO error numbers is offered.
  6.  
  7.         IOresult #                    IO error #
  8.    (given in decimal as          (Given in hexadecimal
  9.     returned by function          as listed in appendix I,
  10.     IOresult)                     Turbo Pascal ref. manual)
  11.             0                             00
  12.             2                             01
  13.             5                             02
  14.             6 . . . . . . . . . . . . .   03
  15.             15                            04
  16.             9                             10
  17.             16 . . . . . . . . . . . . .  20
  18.             17                            21
  19.             18                            22
  20.             144, or 1 . . . . . . . . .   90
  21.             14                            91
  22.             7,10,12                       99
  23.             13, or 8 . . . . . . . . . .  F0
  24.             3                             F1
  25.             11                            F2
  26.             4 . . . . . . . . . . . . .   F